/*package com.ryan.framework.ui;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EmployeeGrid extends Grid {
	private List<EmployeeDto> data;
	public String getTitle() {
		return "会员列表";
	}
	public List<Column> getColumns() {
		List<Column> columns=new ArrayList<Column>();
		Column employeeId = new Column();
		employeeId.setDisplay("会员ID");
		employeeId.setName("employeeId");
		employeeId.setAlign("left");
		employeeId.setMinWidth("40");
		employeeId.setWidth("60");
		columns.add(employeeId);
		Column employeeName = new Column();
		employeeName.setDisplay("会员名称");
		employeeName.setName("employeeName");
		employeeName.setAlign("left");
		employeeName.setMinWidth("40");
		employeeName.setWidth("60");
		columns.add(employeeName);
		Column employeeCode = new Column();
		employeeCode.setDisplay("会员编号");
		employeeCode.setName("employeeCode");
		employeeCode.setAlign("left");
		employeeCode.setMinWidth("40");
		employeeCode.setWidth("60");
		columns.add(employeeCode);
		Column officeTel = new Column();
		officeTel.setDisplay("公司电话");
		officeTel.setName("officeTel");
		officeTel.setAlign("left");
		officeTel.setMinWidth("40");
		officeTel.setWidth("60");
		columns.add(officeTel);
		Column officeEmail = new Column();
		officeEmail.setDisplay("公司邮箱");
		officeEmail.setName("officeEmail");
		officeEmail.setAlign("left");
		officeEmail.setMinWidth("40");
		officeEmail.setWidth("60");
		columns.add(officeEmail);
		Column homeAddress = new Column();
		homeAddress.setDisplay("家庭地址");
		homeAddress.setName("homeAddress");
		homeAddress.setAlign("left");
		homeAddress.setMinWidth("40");
		homeAddress.setWidth("60");
		columns.add(homeAddress);
		Column zipCode = new Column();
		zipCode.setDisplay("邮政编码");
		zipCode.setName("zipCode");
		zipCode.setAlign("left");
		zipCode.setMinWidth("40");
		zipCode.setWidth("60");
		columns.add(zipCode);
		Column personalPhone = new Column();
		personalPhone.setDisplay("手机号码");
		personalPhone.setName("personalPhone");
		personalPhone.setAlign("left");
		personalPhone.setMinWidth("40");
		personalPhone.setWidth("60");
		columns.add(personalPhone);
		Column personalEmail = new Column();
		personalEmail.setDisplay("个人邮箱");
		personalEmail.setName("personalEmail");
		personalEmail.setAlign("left");
		personalEmail.setMinWidth("40");
		personalEmail.setWidth("60");
		columns.add(personalEmail);
		Column idCard = new Column();
		idCard.setDisplay("身份证号");
		idCard.setName("idCard");
		idCard.setAlign("left");
		idCard.setMinWidth("40");
		idCard.setWidth("60");
		columns.add(idCard);
		Column birthday = new Column();
		birthday.setDisplay("出生日期");
		birthday.setName("birthday");
		birthday.setAlign("left");
		birthday.setMinWidth("40");
		birthday.setWidth("60");
		columns.add(birthday);
		return columns;
	}

	public Boolean getCheckbox() {
		return true;
	}

	public Integer getPageSize() {
		return 10;
	}

	public String getWidth() {
		return "40";
	}

	public String getHeight() {
		return "27";
	}

	public List<EmployeeDto> getData() {
		EmployeeDto employeeDto1 = new EmployeeDto();
		employeeDto1.setEmployeeId(123123L);
		employeeDto1.setEmployeeCode("234212");
		employeeDto1.setEmployeeName("张三");
		employeeDto1.setBirthday(new Date());
		employeeDto1.setHomeAddress("ceshi");
		employeeDto1.setIdCard("37030618523698562");
		employeeDto1.setOfficeEmail("werqwe@asdfa.com");
		employeeDto1.setOfficeTel("4562212315");
		employeeDto1.setPersonalEmail("werqwe@asdfa.com");
		employeeDto1.setPersonalPhone("4562212315");
		employeeDto1.setZipCode("200000");
		data.add(employeeDto1);
		EmployeeDto employeeDto2 = new EmployeeDto();
		employeeDto2.setEmployeeId(123123L);
		employeeDto2.setEmployeeCode("234212");
		employeeDto2.setEmployeeName("张三");
		employeeDto2.setBirthday(new Date());
		employeeDto2.setHomeAddress("ceshi");
		employeeDto2.setIdCard("37030618523698562");
		employeeDto2.setOfficeEmail("werqwe@asdfa.com");
		employeeDto2.setOfficeTel("4562212315");
		employeeDto2.setPersonalEmail("werqwe@asdfa.com");
		employeeDto2.setPersonalPhone("4562212315");
		employeeDto2.setZipCode("200000");
		data.add(employeeDto2);
		EmployeeDto employeeDto3 = new EmployeeDto();
		employeeDto3.setEmployeeId(123123L);
		employeeDto3.setEmployeeCode("234212");
		employeeDto3.setEmployeeName("张三");
		employeeDto3.setBirthday(new Date());
		employeeDto3.setHomeAddress("ceshi");
		employeeDto3.setIdCard("37030618523698562");
		employeeDto3.setOfficeEmail("werqwe@asdfa.com");
		employeeDto3.setOfficeTel("4562212315");
		employeeDto3.setPersonalEmail("werqwe@asdfa.com");
		employeeDto3.setPersonalPhone("4562212315");
		employeeDto3.setZipCode("200000");
		data.add(employeeDto3);
		EmployeeDto employeeDto4 = new EmployeeDto();
		employeeDto4.setEmployeeId(123123L);
		employeeDto4.setEmployeeCode("234212");
		employeeDto4.setEmployeeName("张三");
		employeeDto4.setBirthday(new Date());
		employeeDto4.setHomeAddress("ceshi");
		employeeDto4.setIdCard("37030618523698562");
		employeeDto4.setOfficeEmail("werqwe@asdfa.com");
		employeeDto4.setOfficeTel("4562212315");
		employeeDto4.setPersonalEmail("werqwe@asdfa.com");
		employeeDto4.setPersonalPhone("4562212315");
		employeeDto4.setZipCode("200000");
		data.add(employeeDto4);
		EmployeeDto employeeDto5 = new EmployeeDto();
		employeeDto5.setEmployeeId(123123L);
		employeeDto5.setEmployeeCode("234212");
		employeeDto5.setEmployeeName("张三");
		employeeDto5.setBirthday(new Date());
		employeeDto5.setHomeAddress("ceshi");
		employeeDto5.setIdCard("37030618523698562");
		employeeDto5.setOfficeEmail("werqwe@asdfa.com");
		employeeDto5.setOfficeTel("4562212315");
		employeeDto5.setPersonalEmail("werqwe@asdfa.com");
		employeeDto5.setPersonalPhone("4562212315");
		employeeDto5.setZipCode("200000");
		data.add(employeeDto5);
		EmployeeDto employeeDto6 = new EmployeeDto();
		employeeDto6.setEmployeeId(123123L);
		employeeDto6.setEmployeeCode("234212");
		employeeDto6.setEmployeeName("张三");
		employeeDto6.setBirthday(new Date());
		employeeDto6.setHomeAddress("ceshi");
		employeeDto6.setIdCard("37030618523698562");
		employeeDto6.setOfficeEmail("werqwe@asdfa.com");
		employeeDto6.setOfficeTel("4562212315");
		employeeDto6.setPersonalEmail("werqwe@asdfa.com");
		employeeDto6.setPersonalPhone("4562212315");
		employeeDto6.setZipCode("200000");
		data.add(employeeDto6);
		return data;
	}
	public void setData(List<EmployeeDto> data) {
		this.data = data;
	}
	
}
*/